﻿using System.Windows;

namespace ManageSystemClient.WindowService
{
    public static class MBox
    {
        public static MessageBoxResult ShowError(Window owner, string message) =>
            MessageBox.Show(owner, message, "Error", MessageBoxButton.OK, MessageBoxImage.Error);

        public static MessageBoxResult ShowInfo(Window owner, string message) =>
            MessageBox.Show(owner, message, "Info", MessageBoxButton.OK, MessageBoxImage.Information);
    }
}
